home *** CD-ROM | disk | FTP | other *** search
- head 1.2;
- access;
- symbols
- V1_19:1.2
- V1_18:1.1
- V1_15:1.1
- V1_12:1.1
- V1_11:1.1
- V1_10:1.1
- V1_9:1.1
- V1_8:1.1
- V1_7:1.1
- V1_6:1.1
- V1_5:1.1
- V1_4:1.1
- V1_3:1.1
- V1_2:1.1
- V1_1:1.1;
- locks
- olsen:1.2; strict;
- comment @ * @;
-
-
- 1.2
- date 2000.12.25.11.49.56; author olsen; state Exp;
- branches;
- next 1.1;
-
- 1.1
- date 99.02.06.14.23.29; author olsen; state Exp;
- branches;
- next ;
-
-
- desc
- @.
- @
-
-
- 1.2
- log
- @.
- @
- text
- @#ifndef _WRAPPER_SYS_COMMIFMT_H
- #define _WRAPPER_SYS_COMMIFMT_H 1
-
- /*
- * $Id: commifmt.h 1.1 1999/02/06 14:23:29 olsen Exp olsen $
- *
- * :ts=4
- *
- * AmigaOS wrapper routines for Samba 2.0.0, using the AmiTCP V3 API
- * and the SAS/C V6.58 compiler.
- */
-
- /****************************************************************************/
-
- #define S_ISUID 0004000 /* set user id on execution */
- #define S_ISGID 0002000 /* set group id on execution */
- #define S_ISVTX 0001000 /* save swapped text even after use */
-
- #define S_IRWXU 0000700 /* RWX mask for owner */
- #define S_IRUSR 0000400 /* R for owner */
- #define S_IWUSR 0000200 /* W for owner */
- #define S_IXUSR 0000100 /* X for owner */
-
- #define S_IRWXG 0000070 /* RWX mask for group */
- #define S_IRGRP 0000040 /* R for group */
- #define S_IWGRP 0000020 /* W for group */
- #define S_IXGRP 0000010 /* X for group */
-
- #define S_IRWXO 0000007 /* RWX mask for other */
- #define S_IROTH 0000004 /* R for other */
- #define S_IWOTH 0000002 /* W for other */
- #define S_IXOTH 0000001 /* X for other */
-
- #define S_IFMT 0170000 /* type of file */
- #define S_IFIFO 0010000 /* named pipe (fifo) */
- #define S_IFDIR 0040000 /* directory */
- #define S_IFBLK 0060000 /* block special */
- #define S_IFREG 0100000 /* regular */
- #define S_IFLNK 0120000 /* symbolic link */
- #define S_IFSOCK 0140000 /* socket */
-
- #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */
- #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* regular file */
- #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* symbolic link */
- #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* fifo */
-
- /****************************************************************************/
-
- #endif /* _WRAPPER_SYS_COMMIFMT_H */
- @
-
-
- 1.1
- log
- @.
- @
- text
- @d9 1
- a9 1
- * AmigaOS wrapper routines for Samba 2.0.0, using the AmiTCP V4 API
- @
-